package TemplateMethodPattern.exercise3_1;

import java.io.IOException;
import java.io.InputStream;

public class Main {
    public static void main(String[] args) throws IOException {
        int[] arr = {1,2,3};
        byte[] brr = new byte[3];
        InputStream in = new MyInput(arr);
        int res = in.read(brr);
        for (byte b:brr
             ) {
            System.out.println(b);
        }
    }
}
